package com.ruoyi.att.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 关键人员考勤日报对象 report_keyperson_daily
 * 
 * @author ruoyi
 * @date 2022-10-21
 */
public class ReportKeypersonDaily extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 统计时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "统计时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date reportdate;

    /** 姓名 */
    @Excel(name = "姓名")
    private String emplyoeename;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String idcard;

    /** 企业名称 */
    @Excel(name = "企业名称")
    private String companyname;

    /** 企业id */
    @Excel(name = "企业id")
    private Long companyid;

    /** 工种名称 */
    @Excel(name = "工种名称")
    private String postname;

    /** 考勤分时段 */
    @Excel(name = "考勤分时段")
    private String recordtimespan;

    /** 分时段考勤次数 */
    @Excel(name = "分时段考勤次数")
    private Long recordtimespancount;

    /** 分时段考勤工时 */
    @Excel(name = "分时段考勤工时")
    private Long recordtimespanhours;

    /** 租户id */
    @Excel(name = "租户id")
    private Long tenantid;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setReportdate(Date reportdate) 
    {
        this.reportdate = reportdate;
    }

    public Date getReportdate() 
    {
        return reportdate;
    }
    public void setEmplyoeename(String emplyoeename) 
    {
        this.emplyoeename = emplyoeename;
    }

    public String getEmplyoeename() 
    {
        return emplyoeename;
    }
    public void setIdcard(String idcard) 
    {
        this.idcard = idcard;
    }

    public String getIdcard() 
    {
        return idcard;
    }
    public void setCompanyname(String companyname) 
    {
        this.companyname = companyname;
    }

    public String getCompanyname() 
    {
        return companyname;
    }
    public void setCompanyid(Long companyid) 
    {
        this.companyid = companyid;
    }

    public Long getCompanyid() 
    {
        return companyid;
    }
    public void setPostname(String postname) 
    {
        this.postname = postname;
    }

    public String getPostname() 
    {
        return postname;
    }
    public void setRecordtimespan(String recordtimespan) 
    {
        this.recordtimespan = recordtimespan;
    }

    public String getRecordtimespan() 
    {
        return recordtimespan;
    }
    public void setRecordtimespancount(Long recordtimespancount) 
    {
        this.recordtimespancount = recordtimespancount;
    }

    public Long getRecordtimespancount() 
    {
        return recordtimespancount;
    }
    public void setRecordtimespanhours(Long recordtimespanhours) 
    {
        this.recordtimespanhours = recordtimespanhours;
    }

    public Long getRecordtimespanhours() 
    {
        return recordtimespanhours;
    }
    public void setTenantid(Long tenantid) 
    {
        this.tenantid = tenantid;
    }

    public Long getTenantid() 
    {
        return tenantid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("reportdate", getReportdate())
            .append("emplyoeename", getEmplyoeename())
            .append("idcard", getIdcard())
            .append("companyname", getCompanyname())
            .append("companyid", getCompanyid())
            .append("postname", getPostname())
            .append("recordtimespan", getRecordtimespan())
            .append("recordtimespancount", getRecordtimespancount())
            .append("recordtimespanhours", getRecordtimespanhours())
            .append("tenantid", getTenantid())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
